

class animal(object):

    def __init__(self):
        pass

    def eat(self):
        print("实例方法：eat")

    def run(self):
        print("实例方法：run")

    @classmethod
    def name(cls):
        print('类方法：cls类')

    @staticmethod
    def tool():
        print('静态方法：tool')


animal.name()
